//app.js
import wux from 'components/wux'

App({
  onLaunch: function () {
    //调用API从本地缓存中获取数据
    var logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)
  },
  globalData: {
    adminUserViewId: "",
    token: "",
    userInfo: null,


    // BaseURL: "https://wechatminiprogram.airburgzen.cn"
    BaseURL:"http://47.95.6.192:8085"
    // BaseURL:"http://192.168.199.113:8080"

},
  // 通过scope来引入wux函数
  wux: (scope) => new wux(scope),
  
})